<html>
 <head>
  <link href="./leetcode-problem.css" rel="stylesheet" type="text/css">
 </head>
 <body>
  <div class="question_difficulty">
   难度：Easy
  </div>
  <div>
   <h1 class="question_title">
    389. Find the Difference
   </h1>
   <p>
    Given two strings
    <b>
     <i>
      s
     </i>
    </b>
    and
    <b>
     <i>
      t
     </i>
    </b>
    which consist of only lowercase letters.
   </p>
   <p>
    String
    <b>
     <i>
      t
     </i>
    </b>
    is generated by random shuffling string
    <b>
     <i>
      s
     </i>
    </b>
    and then add one more letter at a random position.
   </p>
   <p>
    Find the letter that was added in
    <b>
     <i>
      t
     </i>
    </b>
    .
   </p>
   <p>
    <b>
     Example:
    </b>
   </p>
   <pre>
Input:
s = "abcd"
t = "abcde"

Output:
e

Explanation:
'e' is the letter that was added.
</pre>
  </div>
  <div>
   <h1 class="question_title">
    389. 找不同
   </h1>
   <p>
    给定两个字符串
    <em>
     <strong>
      s
     </strong>
    </em>
    和
    <em>
     <strong>
      t
     </strong>
    </em>
    ，它们只包含小写字母。
   </p>
   <p>
    字符串&nbsp;
    <strong>
     <em>
      t
     </em>
    </strong>
    &nbsp;由字符串&nbsp;
    <strong>
     <em>
      s
     </em>
    </strong>
    &nbsp;随机重排，然后在随机位置添加一个字母。
   </p>
   <p>
    请找出在
    <em>
     <strong>
      t
     </strong>
    </em>
    中被添加的字母。
   </p>
   <p>
    &nbsp;
   </p>
   <p>
    <strong>
     示例:
    </strong>
   </p>
   <pre>输入：
s = "abcd"
t = "abcde"

输出：
e

解释：
'e' 是那个被添加的字母。
</pre>
  </div>
 </body>
</html>